package com.sina.finance.api.sdk;

import java.util.Map;

/**
 * Created by cuiyong on 15/9/7.
 */
public class BalancePayRequest implements ApiRequest {
    @Override
    public String getApiMethodName() {
        return "com.sina.finance.payment.api.order.balance_pay";
    }

    private String from_account_id;

    private String deal_amount;

    private String to_account_id;

    @Override
    public Map<String, String> getTextParams() {
        Map<String, String> ret = new ApiHashMap();
        ret.put("from_account_id", from_account_id);
        ret.put("to_account_id", to_account_id);
        ret.put("deal_amount", deal_amount);
        return ret;
    }

    @Override
    public void check() throws ApiRuleException {

    }

    public String getFrom_account_id() {
        return from_account_id;
    }

    public void setFrom_account_id(String from_account_id) {
        this.from_account_id = from_account_id;
    }

    public String getDeal_amount() {
        return deal_amount;
    }

    public void setDeal_amount(String deal_amount) {
        this.deal_amount = deal_amount;
    }

    public String getTo_account_id() {
        return to_account_id;
    }

    public void setTo_account_id(String to_account_id) {
        this.to_account_id = to_account_id;
    }
}
